home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo
- if "%1" == "" goto getname
- echo FPLAN Retirement Financial Forecaster Install
- md %1
- if not errorlevel 1 goto nogo2
- copy . %1
- if not errorlevel 1 goto nogo3
- echo
- echo Type RETIRE from install directory to start.
- goto end
- :nogo1
- echo
- echo Type Install C:\PATH where PATH is the desired install directory.
- goto end
- :nogo2
- echo
- echo Could not create directory %1.
- echo Installaton NOT successful.
- goto end
- :nogo3
- echo
- echo An error was encountered while copying files.
- echo Installation NOT successful.
- goto end
- :getname
- choice /c:yn No install path specified. Install to C:\RETIRE?
- if errorlevel 2 goto nogo1
- install C:\RETIRE
- :end
- echo
- echo Thank you for choosing FPLAN Retirement Financial Forecaster.